<template>
  <div>
    <div class="selectLogin">
      <div>
        <img src="../../img/logo.png" >
      </div>
      <div class="loginWay">
        <span>选择登录方式</span>
      </div>
      <div class="phoneLogin" @click="login">
        <span>手机登录</span>
      </div>
    </div>
    <Home></Home>
  </div>
  
</template>

<script>
  import Home from '../Home/index'
  export default{
    name:'SelectLogin',
    components:{
      Home
    },
    methods:{
      login() {
        this.$router.push({path: '/login',query:this.$route.query})
      }
    }
  }
</script>

<style scoped>
  /* 图片 */
  .selectLogin{
    position: fixed;
    top: 260px;
    left: 50%;
    transform: translateX(-50%);
  }
  .selectLogin img{
    width: 600px;

  }
  /* 选择登录方式 */
  .loginWay{
    text-align: center;
    margin-top: 100px;
  }
  .loginWay span{
    font-size: 34px;

  }
  /* 手机登录 */
  .phoneLogin{
    margin-top: 60px;
  }
  .phoneLogin span{
    display: block;
    font-size: 40px;
    width: 100%;
    line-height: 80px;
    margin: 0 auto;
    border-radius: 10px;
    color: #FFFFFF;
    text-align: center;
    background-color: rgb(46, 186, 90);
  }
</style>
